<h1>
        <span class="action-span1">
		<?php if( 0 < $uid):?><a href="javascript:void(0);">用户管理</a>---<a href="./index.php?c=user&a=userList">用户列表</a>---<a href="javascript:void(0);">对局日志</a>
                <?php else: ?><a href="javascript:void(0);"></a>日志管理---<a href="javascript:void(0);">用户对局日志</a>
                <?php endif; ?>    
	</span>
	<div style="clear:both"></div>
</h1>
<?php if( 0 == $uid):?>
<div class="form-div">
    <form action="./index.php" method="get">
  	<input type="hidden" name="c" value="logs">
  	<input type="hidden" name="a" value="gamelist">
    <img src="./public/images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />    
     用户ID <input type="text" name="userID" size="15" value="<?=$userID?>" />
  <input type="submit" value=" 搜索 " class="button" />
  </form>
</div>
<?php endif; ?>
<!-- 用户列表 -->

  <!-- start user list -->
<div class="list-div" id="listDiv">
<table cellpadding="3" cellspacing="1">
  <tr>
    <th>序号</th>
    <th>用户登陆名</th>
    <th>房间号</th>
    <th>房间等级</th>
    <th>此次筹码数</th>
    <th>牌型</th>
    <th>参与人数</th>
    <th>结果</th>
    <th>开始时间</th>
    <th>结束时间</th>
  </tr>
  <?php if($logList):foreach ($logList as $v ):?>
  <tr class="">
    <td><?=$v['id']?></td>
    <td><a href="/index.php?c=user&a=userDetail&uid=<?=$v['userID'];?>"><?=$v['userName']?></a></td>
    <td><?=$v['room']?></td>
    <td><?=$v['roomStip']?></td>
    <td><?=$v['jetton']?></td>
    <td><?=$v['balanced']?></td>
    <td><?=$v['playHumanNo']?></td>
    <td><?php if( '1'== $v['result'] ): echo '赢';elseif('2'== $v['result'] ):echo "输"; elseif('3'== $v['result']): echo "平局"; endif; ?></td>
    <td><?=date("Y-m-d H:i:s",$v['btime']);?></td>
    <td><?=date("Y-m-d H:i:s",$v['etime']);?></td>
 </tr>
  <?php endforeach;endif;?>
  </table>
<!-- end goods list -->

<!-- 分页 -->
<?php if($page){?>
<table id="page-table" cellspacing="0">
  <tr>
    <td align="right" nowrap="true"><?=$page?></td>
  </tr>
</table>
<?php }?>
</div>